package cn.itcast.web;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 虎哥
 */
@Slf4j
@RestController
public class HelloController {

    @GetMapping("hello")
    public String hello(){
        log.info("hello方法在执行！");
        return "hello, spring boot test!";
    }

    @GetMapping("hello2")
    public String hello2(){
        log.info("hello2方法在执行！");
        return "hello2, spring boot test 123·13 !";
    }
    @GetMapping("hello3")
    public String hello3(){
        log.info("hello3方法在执行！");
        return "hello2, spring boot test 123·134 !";
    }
}
